From 297fc3718d3a9b753bbe8dfd9cdba47892f469e9 Mon Sep 17 00:00:00 2001 From: "smh22@firebug.cl.cam.ac.uk" Date: Mon, 21 Nov 2005 19:28:50 +0100 Subject: [PATCH] Fix syntax error. Signed-off-by: Steven Hand --- tools/python/xen/xm/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 143e521a7a..6527a40d0b 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -846,7 +846,7 @@ def deprecated(old,new): err('Option %s is the new replacement, see "xm help %s" for more info' % (new, new)) def usage(cmd=None): - if cmd = 'create' + if cmd == 'create': xm_subcommand("create", "--help") sys.exit(1) if help.has_key(cmd): -- 2.30.2